package ch.bfh.abhmcm.SoftwareEngineeringAndDesign.view.mainframe.acceptRFCPanel.acceptRFCPanelSubs.listeners;

import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;

import ch.bfh.abhmcm.SoftwareEngineeringAndDesign.view.mainframe.acceptRFCPanel.acceptRFCPanelSubs.ShowWorkorderDisplay;

public class CancelButtonListener implements ActionListener{

	private ShowWorkorderDisplay rfcDisplay;
	
	public CancelButtonListener(ShowWorkorderDisplay rfcDisplay){
		this.rfcDisplay = rfcDisplay;
	}
	@Override
	public void actionPerformed(ActionEvent e) {
	
		this.rfcDisplay.dispose();
	}
	

}
